<template>
  <div>
    <tabbar v-model="active" active-color="orange" :route="true">
      <tabbar-item icon="home-o" to="/home/index">首页</tabbar-item>
      <tabbar-item icon="shop-o" to="/home/classify">分类</tabbar-item>
      <tabbar-item icon="cart-o" to="/home/shop">购物车</tabbar-item>
      <tabbar-item icon="friends-o" to="/home/me">我的</tabbar-item>
    </tabbar>
  </div>
</template>

<script>
import { Tabbar, TabbarItem } from "vant";
export default {
  data() {
    return {
      active: 0,
    };
  },
  components: {
    Tabbar,
    TabbarItem,
  },
};
</script>

<style></style>
